using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;



[CreateAssetMenu(fileName = "Tool", menuName = "GathererTopDownRPG/Tool")]
public class Tool : ScriptableObject
{
    [field: SerializeField] public string DisplayName { get; private set; }
    [field: SerializeField] public Sprite sprite { get; private set; }
    [field: SerializeField] public Sprite Icon { get; private set; }
    [field: SerializeField] public string Description { get; private set; }
    [field: SerializeField] public ToolType toolType { get; private set; }
    [field: SerializeField] public int minCount { get; private set; } = 1;//随机掉落的最小资源数量
    [field: SerializeField] public int maxCount { get; private set; } = 1;//随机掉落的最大资源数量
}


// 在此添加其他工具类型
public enum ToolType
{
    Axe,//斧头
    Pickaxe,//镐子
}